
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <ul>
            <!-- <li>{{person.name}}</li> -->
            <li v-for="(value,key,index) in person">{{index+1}}、{{key}}:{{value}}</li>
        </ul>
    </div>
    <script src="./base/vue.min.js"></script>
    <script>
       
        var vm = new Vue({
            el: '#app',
            data: {
                person:{
                    name:"二狗",
                    age:10
                }
            }
        })

      
 
    </script>
</body>
</html>